/** 
 * @Description: 文件描述
 * @Author: 程前
 * @Date: 2024-12-17 17:06:52
 * @LastEditors: 程前
 * @LastEditTime: 2024-12-25 16:32:19
 */

/**
 * plotting
 */
export interface PlottingEditData {
    type: string;
    src: string;
    imageConfig?: ImageConfig;
    vectorConfig?: VectorConfig;
}

export interface SignEditData {
    src: string;
    imageConfig?: ImageConfig;
}

export interface VectorConfig extends ImageConfig {
    color?: string;
}

export interface ImageConfig {
    name: string;
    labelColor?: string;
    rotation?: number;
    isClampToGround?: boolean;
}

/**
 * model
 */

export interface ModelEditData {
    src: string;
    coverSrc: string;
    config: ModelConfig
}

export interface ModelConfig {
    label?: string;
    labelColor?: string;
    pixel?: number;
    scale?: number;
    rotation?: number;
}

/**
 * cesium编辑store
 */
export interface ICesiumEditStore {
    plotting: PlottingEditData;
    sign:SignEditData
    model: ModelEditData
}